#include <iostream>
#include <string>
#include <cassert>
using namespace std;
class CFigure {
public:
    CFigure(double d=0): m_value(d) {
        m_name = "anonymity";
    }
    CFigure(int a, string name="pseudonym") {}
    operator int() {
        return m_value;
    }
    operator double() {
        return m_value;
    }
    void print() {
        cout<<m_name<<": "<<m_value<<endl;
    }
private:
    double m_value;
    string m_name;
};